package com.hdp.jetpack_mvvm.livedata

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.ViewModel

class ViewModel2(app: Application) : AndroidViewModel(app) {

    fun getApp(){
        val app=getApplication<Application>()
    }

    override fun onCleared() {
        super.onCleared()
    }
}